wordpress get particular page content programmatically

65

wordpress get particular page content programmatically -

<?php 
$id=47; 
$post = get_post($id); 
$content = apply_filters('the_content', $post->post_content); 
echo $content;  
?>

Comments

Submit
0 Comments